import request from '@/utils/http'
import type { LoginRequest } from '../types/login.d'

//登录
export  function login(params: LoginRequest) {
   return request.post('/login', params ); 
}

// 获取用户信息
export function getUserInfo() {
  return request.get('/me')
}



